package com.eastedu.report.common.model.vo;

import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 上传模型
 *
 * @author luozhenzhong
 */
@Data
public class ReportTemplateUploadVO {

    @NotEmpty(message = "模版名称不能为空")
    private String templateName;
    @NotEmpty(message = "模版编码不能为空")
    private String templateCode;
    @NotNull(message = "模版文件不能为空")
    private MultipartFile file;
}
